#include<bits/stdc++.h>
using namespace std;
int main() {
	int T;
	cin >> T;

	if (T == 1)
		cout << "I love Luogu!";
	else if (T == 2)
		cout << "6 4";
	else if (T == 3) {
		cout << "3\n12\n2";
	} else if (T == 4)
		cout << "166.667";
	else if (T == 5)
		cout << "15";
	else if (T == 6)
		cout << sqrt(6 * 6 + 9 * 9);
	else if (T == 7) {
		cout << "110\n90\n0";
	} else if (T == 8) {
		cout << 3.141593 * 5 * 2 << endl << 3.141593 * 5 * 5 << endl << 1.0 * 4 / 3 * 3.141593 * 125;
	} else if (T == 9) {
		cout << (((1 + 1) * 2 + 1) * 2 + 1) * 2;
	} else if (T == 10) {
		cout << "9";
	} else if (T == 11) {
		cout << 1.0 * 100 / 3;
	} else if (T == 12) {
		cout << "13\nR";
	} else if (T == 13) {
		int r1 = 4, r2 = 10;
		double pi = 3.141593;
		double v = 4.0 / 3 * pi * r1 * r1 * r1 + 4.0 / 3 * pi * r2 * r2 * r2;
		v = pow(v, 1.0 / 3);
		if (v - (int)v > 1e-6)
			cout << (int)v;
		else
			cout << v;
	} else if (T == 14) {
		cout << "50";
	}
	return 0;
}
